#ifndef     __PARTS_H
#define     __PARTS_H

#include "../../utils/nocopyable.h"
#include "../../utils/object.h"
#include <stdint.h>

namespace driver {

class Parts : private utils::NoCopyable {

public:
    Parts();

    void open_led1();
    void close_led1();
    void led1_adj(uint8_t v);

    void open_led2();
    void close_led2();
    void led2_adj(uint8_t v);

    void open_straw();
    void close_straw();
    void straw_adj(uint8_t v);
};

inline utils::Object<Parts> parts;

}

#endif
